/*  1:   */ package tt.dz.vo;
/*  2:   */ 
/*  3:   */ import java.beans.BeanInfo;
/*  4:   */ import java.beans.Introspector;
/*  5:   */ import java.beans.PropertyDescriptor;
/*  6:   */ import java.io.Serializable;
/*  7:   */ import java.lang.reflect.InvocationTargetException;
/*  8:   */ import java.lang.reflect.Method;
/*  9:   */ import java.util.Date;
/* 10:   */ 
/* 11:   */ public class BaseVO
/* 12:   */   implements Serializable
/* 13:   */ {
/* 14:   */   protected String createdBy;
/* 15:   */   protected Date createdTime;
/* 16:   */   protected String updatedBy;
/* 17:   */   protected Date updatedTime;
/* 18:   */   protected Integer isValid;
/* 19:   */   
/* 20:   */   public String getCreatedBy()
/* 21:   */   {
/* 22:30 */     return this.createdBy;
/* 23:   */   }
/* 24:   */   
/* 25:   */   public void setCreatedBy(String createdBy)
/* 26:   */   {
/* 27:34 */     this.createdBy = createdBy;
/* 28:   */   }
/* 29:   */   
/* 30:   */   public Date getCreatedTime()
/* 31:   */   {
/* 32:38 */     return this.createdTime;
/* 33:   */   }
/* 34:   */   
/* 35:   */   public void setCreatedTime(Date createdTime)
/* 36:   */   {
/* 37:42 */     this.createdTime = createdTime;
/* 38:   */   }
/* 39:   */   
/* 40:   */   public String getUpdatedBy()
/* 41:   */   {
/* 42:46 */     return this.updatedBy;
/* 43:   */   }
/* 44:   */   
/* 45:   */   public void setUpdatedBy(String updatedBy)
/* 46:   */   {
/* 47:50 */     this.updatedBy = updatedBy;
/* 48:   */   }
/* 49:   */   
/* 50:   */   public Date getUpdatedTime()
/* 51:   */   {
/* 52:54 */     return this.updatedTime;
/* 53:   */   }
/* 54:   */   
/* 55:   */   public void setUpdatedTime(Date updatedTime)
/* 56:   */   {
/* 57:58 */     this.updatedTime = updatedTime;
/* 58:   */   }
/* 59:   */   
/* 60:   */   public Integer getIsValid()
/* 61:   */   {
/* 62:62 */     return this.isValid;
/* 63:   */   }
/* 64:   */   
/* 65:   */   public void setIsValid(Integer isValid)
/* 66:   */   {
/* 67:66 */     this.isValid = isValid;
/* 68:   */   }
/* 69:   */   
/* 70:   */   public String toString()
/* 71:   */   {
/* 72:   */     try
/* 73:   */     {
/* 74:72 */       BeanInfo beaninfo = Introspector.getBeanInfo(getClass());
/* 75:   */       
/* 76:74 */       PropertyDescriptor[] beanDescriptors = beaninfo.getPropertyDescriptors();
/* 77:75 */       StringBuffer rs = new StringBuffer();
/* 78:77 */       for (PropertyDescriptor pd : beanDescriptors)
/* 79:   */       {
/* 80:78 */         Method getMethod = pd.getReadMethod();
/* 81:79 */         rs.append(pd.getName()).append("=").append(getMethod.invoke(this, new Object[0])).append(",");
/* 82:   */       }
/* 83:81 */       return rs.toString();
/* 84:   */     }
/* 85:   */     catch (IllegalAccessException e)
/* 86:   */     {
/* 87:83 */       return null;
/* 88:   */     }
/* 89:   */     catch (IllegalArgumentException e)
/* 90:   */     {
/* 91:85 */       return null;
/* 92:   */     }
/* 93:   */     catch (InvocationTargetException e)
/* 94:   */     {
/* 95:87 */       return null;
/* 96:   */     }
/* 97:   */     catch (Exception e) {}
/* 98:89 */     return null;
/* 99:   */   }
/* :0:   */ }


/* Location:           F:\work\pengyu\mainServer\WEB-INF\classes\
 * Qualified Name:     tt.dz.vo.BaseVO
 * JD-Core Version:    0.7.0.1
 */